import App from './App'
import router from './router'
import store from './store'

//element-ui插件
import elementUI from 'element-ui'
import './style/element-variables.scss'
Vue.use(elementUI);

//IE兼容性处理
import 'babel-polyfill'
//URL解析工具对象
import qs from 'qs'

//保存到全局属性中
window.qs = qs;
window.router = router;

//自定义js : 提供一些全局属性
import './js/utils/frame.js'
import './js/utils/axios.js'
import './js/api/api.js'
//请求处理权限
import './permission.js'

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
